.class Les/qy$q;
.super Ljava/lang/Object;
.source "BottomMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/qy;


# direct methods
.method constructor <init>(Les/qy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qy$q;->a:Les/qy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 3

    .line 1
    iget-object p1, p0, Les/qy$q;->a:Les/qy;

    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    .line 2
    instance-of v0, p1, Lcom/estrongs/android/view/WebViewWrapper;

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    .line 3
    check-cast p1, Lcom/estrongs/android/view/WebViewWrapper;

    invoke-virtual {p1}, Lcom/estrongs/android/view/WebViewWrapper;->G0()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {p1}, Lcom/estrongs/android/view/WebViewWrapper;->P()Lcom/estrongs/fs/g;

    goto :goto_0

    .line 5
    :cond_0
    iget-object p1, p0, Les/qy$q;->a:Les/qy;

    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    new-instance v0, Landroid/view/KeyEvent;

    const/4 v2, 0x4

    invoke-direct {v0, v1, v2}, Landroid/view/KeyEvent;-><init>(II)V

    invoke-virtual {p1, v2, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    :cond_1
    :goto_0
    return v1
.end method
